package com.cfuture08.home.action.perm;

import com.cfuture08.eweb4j.mvc.action.ActionSupport;
import com.cfuture08.eweb4j.orm.dao.DAO;
import com.cfuture08.home.vo.Perm;

public class ShowPerm extends ActionSupport {
	private long id;

	public String execute() {
		Perm perm = new Perm();
		perm.setId(id);
		this.request.setAttribute("perm", DAO.selectOne(perm));
		return SUCCESS;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
}
